package com.jx.db137.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jx.db137.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jx
 * @version 1.0
 * @Description
 * @date 2024/12/24 11:42
 */
@Repository
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> selectRoleByUserId(@Param("userid") int userid);
}
